package com.otherTest.conceitHashMap;

import org.junit.Test;

import java.util.Map;

/**
 * 测试自己的HashMap
 *
 * @author Conceit
 * @version 1.0, 2017/5/24
 */
public class TestHashMap {

    @Test
    public void testIHashMap() {
        IHashMap<String, String> hashMap = new HashMapImpl<>();
        for (int i = 0; i < 10000; i++) {
            hashMap.put("key" + i, "value" + i);
        }

        for (int i = 0; i < 10000; i++) {


            System.out.println(hashMap.get("key" + i));


        }
    }


}
